Optimal. Leaf size=200 \[ -\frac {(b d-a e)^3 (d+e x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{5 e^4 (a+b x)}+\frac {b (b d-a e)^2 (d+e x)^6 \sqrt {a^2+2 a b x+b^2 x^2}}{2 e^4 (a+b x)}-\frac {3 b^2 (b d-a e) (d+e x)^7 \sqrt {a^2+2 a b x+b^2 x^2}}{7 e^4 (a+b x)}+\frac {b^3 (d+e x)^8 \sqrt {a^2+2 a b x+b^2 x^2}}{8 e^4 (a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 200, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {660, 45}
\begin {gather*} -\frac {3 b^2 \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^7 (b d-a e)}{7 e^4 (a+b x)}+\frac {b \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^6 (b d-a e)^2}{2 e^4 (a+b x)}-\frac {\sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^5 (b d-a e)^3}{5 e^4 (a+b x)}+\frac {b^3 \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^8}{8 e^4 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 660
Rubi steps
\begin {align*} \int (d+e x)^4 \left (a^2+2 a b x+b^2 x^2\right )^{3/2} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (a b+b^2 x\right )^3 (d+e x)^4 \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (-\frac {b^3 (b d-a e)^3 (d+e x)^4}{e^3}+\frac {3 b^4 (b d-a e)^2 (d+e x)^5}{e^3}-\frac {3 b^5 (b d-a e) (d+e x)^6}{e^3}+\frac {b^6 (d+e x)^7}{e^3}\right ) \, dx}{b^2 \left (a b+b^2 x\right )}\\ &=-\frac {(b d-a e)^3 (d+e x)^5 \sqrt {a^2+2 a b x+b^2 x^2}}{5 e^4 (a+b x)}+\frac {b (b d-a e)^2 (d+e x)^6 \sqrt {a^2+2 a b x+b^2 x^2}}{2 e^4 (a+b x)}-\frac {3 b^2 (b d-a e) (d+e x)^7 \sqrt {a^2+2 a b x+b^2 x^2}}{7 e^4 (a+b x)}+\frac {b^3 (d+e x)^8 \sqrt {a^2+2 a b x+b^2 x^2}}{8 e^4 (a+b x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 215, normalized size = 1.08 \begin {gather*} \frac {x \sqrt {(a+b x)^2} \left (56 a^3 \left (5 d^4+10 d^3 e x+10 d^2 e^2 x^2+5 d e^3 x^3+e^4 x^4\right )+28 a^2 b x \left (15 d^4+40 d^3 e x+45 d^2 e^2 x^2+24 d e^3 x^3+5 e^4 x^4\right )+8 a b^2 x^2 \left (35 d^4+105 d^3 e x+126 d^2 e^2 x^2+70 d e^3 x^3+15 e^4 x^4\right )+b^3 x^3 \left (70 d^4+224 d^3 e x+280 d^2 e^2 x^2+160 d e^3 x^3+35 e^4 x^4\right )\right )}{280 (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.63, size = 264, normalized size = 1.32
method | result | size |
gosper | \(\frac {x \left (35 b^{3} e^{4} x^{7}+120 x^{6} a \,b^{2} e^{4}+160 x^{6} b^{3} d \,e^{3}+140 x^{5} a^{2} b \,e^{4}+560 x^{5} a \,b^{2} d \,e^{3}+280 x^{5} b^{3} d^{2} e^{2}+56 x^{4} e^{4} a^{3}+672 x^{4} d \,e^{3} a^{2} b +1008 x^{4} a \,b^{2} d^{2} e^{2}+224 x^{4} b^{3} d^{3} e +280 x^{3} a^{3} d \,e^{3}+1260 x^{3} a^{2} b \,d^{2} e^{2}+840 x^{3} a \,b^{2} d^{3} e +70 x^{3} b^{3} d^{4}+560 a^{3} d^{2} e^{2} x^{2}+1120 a^{2} b \,d^{3} e \,x^{2}+280 a \,b^{2} d^{4} x^{2}+560 x \,a^{3} d^{3} e +420 a^{2} b \,d^{4} x +280 d^{4} a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{280 \left (b x +a \right )^{3}}\) | \(264\) |
default | \(\frac {x \left (35 b^{3} e^{4} x^{7}+120 x^{6} a \,b^{2} e^{4}+160 x^{6} b^{3} d \,e^{3}+140 x^{5} a^{2} b \,e^{4}+560 x^{5} a \,b^{2} d \,e^{3}+280 x^{5} b^{3} d^{2} e^{2}+56 x^{4} e^{4} a^{3}+672 x^{4} d \,e^{3} a^{2} b +1008 x^{4} a \,b^{2} d^{2} e^{2}+224 x^{4} b^{3} d^{3} e +280 x^{3} a^{3} d \,e^{3}+1260 x^{3} a^{2} b \,d^{2} e^{2}+840 x^{3} a \,b^{2} d^{3} e +70 x^{3} b^{3} d^{4}+560 a^{3} d^{2} e^{2} x^{2}+1120 a^{2} b \,d^{3} e \,x^{2}+280 a \,b^{2} d^{4} x^{2}+560 x \,a^{3} d^{3} e +420 a^{2} b \,d^{4} x +280 d^{4} a^{3}\right ) \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}}{280 \left (b x +a \right )^{3}}\) | \(264\) |
risch | \(\frac {\sqrt {\left (b x +a \right )^{2}}\, b^{3} e^{4} x^{8}}{8 b x +8 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (3 a \,b^{2} e^{4}+4 b^{3} d \,e^{3}\right ) x^{7}}{7 b x +7 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (3 a^{2} b \,e^{4}+12 a \,b^{2} d \,e^{3}+6 b^{3} d^{2} e^{2}\right ) x^{6}}{6 b x +6 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (e^{4} a^{3}+12 d \,e^{3} a^{2} b +18 a \,b^{2} d^{2} e^{2}+4 b^{3} d^{3} e \right ) x^{5}}{5 b x +5 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (4 a^{3} d \,e^{3}+18 a^{2} b \,d^{2} e^{2}+12 a \,b^{2} d^{3} e +b^{3} d^{4}\right ) x^{4}}{4 b x +4 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (6 a^{3} d^{2} e^{2}+12 a^{2} b \,d^{3} e +3 a \,b^{2} d^{4}\right ) x^{3}}{3 b x +3 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, \left (4 a^{3} d^{3} e +3 a^{2} b \,d^{4}\right ) x^{2}}{2 b x +2 a}+\frac {\sqrt {\left (b x +a \right )^{2}}\, d^{4} a^{3} x}{b x +a}\) | \(357\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 577 vs.
\(2 (151) = 302\).
time = 0.30, size = 577, normalized size = 2.88 \begin {gather*} \frac {1}{4} \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} d^{4} x - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a d^{3} x e}{b} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a d^{4}}{4 \, b} + \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{2} d^{2} x e^{2}}{2 \, b^{2}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{2} d^{3} e}{b^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} x^{3} e^{4}}{8 \, b^{2}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{3} d x e^{3}}{b^{3}} + \frac {4 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} d x^{2} e^{3}}{7 \, b^{2}} + \frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{3} d^{2} e^{2}}{2 \, b^{3}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} d^{2} x e^{2}}{b^{2}} + \frac {4 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} d^{3} e}{5 \, b^{2}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{4} x e^{4}}{4 \, b^{4}} - \frac {11 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a x^{2} e^{4}}{56 \, b^{3}} - \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{4} d e^{3}}{b^{4}} - \frac {6 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a d x e^{3}}{7 \, b^{3}} - \frac {7 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a d^{2} e^{2}}{5 \, b^{3}} + \frac {{\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {3}{2}} a^{5} e^{4}}{4 \, b^{5}} + \frac {13 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{2} x e^{4}}{56 \, b^{4}} + \frac {34 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{2} d e^{3}}{35 \, b^{4}} - \frac {69 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )}^{\frac {5}{2}} a^{3} e^{4}}{280 \, b^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.19, size = 227, normalized size = 1.14 \begin {gather*} \frac {1}{4} \, b^{3} d^{4} x^{4} + a b^{2} d^{4} x^{3} + \frac {3}{2} \, a^{2} b d^{4} x^{2} + a^{3} d^{4} x + \frac {1}{280} \, {\left (35 \, b^{3} x^{8} + 120 \, a b^{2} x^{7} + 140 \, a^{2} b x^{6} + 56 \, a^{3} x^{5}\right )} e^{4} + \frac {1}{35} \, {\left (20 \, b^{3} d x^{7} + 70 \, a b^{2} d x^{6} + 84 \, a^{2} b d x^{5} + 35 \, a^{3} d x^{4}\right )} e^{3} + \frac {1}{10} \, {\left (10 \, b^{3} d^{2} x^{6} + 36 \, a b^{2} d^{2} x^{5} + 45 \, a^{2} b d^{2} x^{4} + 20 \, a^{3} d^{2} x^{3}\right )} e^{2} + \frac {1}{5} \, {\left (4 \, b^{3} d^{3} x^{5} + 15 \, a b^{2} d^{3} x^{4} + 20 \, a^{2} b d^{3} x^{3} + 10 \, a^{3} d^{3} x^{2}\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d + e x\right )^{4} \left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 357 vs.
\(2 (151) = 302\).
time = 1.82, size = 357, normalized size = 1.78 \begin {gather*} \frac {1}{8} \, b^{3} x^{8} e^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {4}{7} \, b^{3} d x^{7} e^{3} \mathrm {sgn}\left (b x + a\right ) + b^{3} d^{2} x^{6} e^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {4}{5} \, b^{3} d^{3} x^{5} e \mathrm {sgn}\left (b x + a\right ) + \frac {1}{4} \, b^{3} d^{4} x^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {3}{7} \, a b^{2} x^{7} e^{4} \mathrm {sgn}\left (b x + a\right ) + 2 \, a b^{2} d x^{6} e^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {18}{5} \, a b^{2} d^{2} x^{5} e^{2} \mathrm {sgn}\left (b x + a\right ) + 3 \, a b^{2} d^{3} x^{4} e \mathrm {sgn}\left (b x + a\right ) + a b^{2} d^{4} x^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{2} \, a^{2} b x^{6} e^{4} \mathrm {sgn}\left (b x + a\right ) + \frac {12}{5} \, a^{2} b d x^{5} e^{3} \mathrm {sgn}\left (b x + a\right ) + \frac {9}{2} \, a^{2} b d^{2} x^{4} e^{2} \mathrm {sgn}\left (b x + a\right ) + 4 \, a^{2} b d^{3} x^{3} e \mathrm {sgn}\left (b x + a\right ) + \frac {3}{2} \, a^{2} b d^{4} x^{2} \mathrm {sgn}\left (b x + a\right ) + \frac {1}{5} \, a^{3} x^{5} e^{4} \mathrm {sgn}\left (b x + a\right ) + a^{3} d x^{4} e^{3} \mathrm {sgn}\left (b x + a\right ) + 2 \, a^{3} d^{2} x^{3} e^{2} \mathrm {sgn}\left (b x + a\right ) + 2 \, a^{3} d^{3} x^{2} e \mathrm {sgn}\left (b x + a\right ) + a^{3} d^{4} x \mathrm {sgn}\left (b x + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (d+e\,x\right )}^4\,{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________